package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@RestController
public class ConfigClientApplication8009 {

	public static void main(String[] args) {
		SpringApplication.run(ConfigClientApplication8009.class, args);
	}

	@Value("${value}")
	String value;


	@RequestMapping(value = "/config/value")
	public String getConfigValue(){
		return value;
	}

}
